/**
 * Created by dell on 2017/5/8.
 */
import {Component, ChangeDetectionStrategy, ViewEncapsulation} from '@angular/core';
import {ToolsService} from "../../service/tools/tools.service";

@Component({
  selector: 'go-down-app',
  template: `
    <div class="more-info-tip" (click)="TipCommon()">
      <div class="more-info-button">下载求苗App，看更多精彩内容</div>
    </div>
  `,
  changeDetection: ChangeDetectionStrategy.OnPush,
  encapsulation: ViewEncapsulation.None
})

export class DownAppComponent {

  constructor(public ToolServices: ToolsService) {

  }

  TipCommon() {
    this.ToolServices.presentConfirm('下载求苗APP，看更多精彩内容！');
  }
}
